import {WeaTools} from 'ecCom';
/**
 * 流程督办 api
 */

// 高级查询条件
export const getConditionInfo = params => {
    return WeaTools.callApi('/api/workflow/supervise/getConditionInfo', 'POST', params);
}

// 列表接口
export const getSessionkey = params => {
    return WeaTools.callApi('/api/workflow/supervise/getSessionkey', 'POST', params);
}

//左侧树
export const getTree = params => {
    return WeaTools.callApi('/api/workflow/supervise/getTree', 'POST', params);
}

//左侧树数字统计
export const getTreeCount = params => {
    return WeaTools.callApi('/api/workflow/supervise/getTreeCount', 'POST', params);
}


//流程督办
export const doSupervise = params => {
    return WeaTools.callApi('/api/workflow/supervise/doSupervise', 'POST', params);
}

//邮件催办信息
export const getSendEmailInfo = params => {
    return WeaTools.callApi('/api/workflow/supervise/getSendEmailInfo', 'POST', params);
}

//节点意见设置
export const getNodeSignSet = params => {
    return WeaTools.callApi('/api/workflow/reqform/getNodeSignSet', 'GET', params);
}
